/**********************************************************
    COPYRIGHT
        LGX (c) 2011
    CLASS NAME
        platform_dac.h
    DEPENDENCY

    HISTORY
		03/01/2012, created by Guangxing Liu
**********************************************************/
#ifndef PLATFORM_DAC_H
#define PLATFORM_DAC_H

#define DAC_DEVICE           	 "DAC"

#define platform_dac_app_call_device_op_dacinit    	         "0_dacinit"
#define platform_dac_app_call_device_op_setdacvalue    	"1_setdacvalue"


typedef enum{
	Platform_Dac_App_Call_None = 0,
	Platform_Dac_App_Call_Dac_Init,
	Platform_Dac_App_Call_Dac_Setdacvalue
	
}platform_dac_device_opt;

typedef struct _platform_dac_app_call_
{
	platform_dac_device_opt iOpt;
	
}platform_dac_app_call;


typedef struct _platform_dac_config_
{
	unsigned int rate;

}platform_dac_config;


typedef struct _platform_dac_value_
{
	unsigned int value;

}platform_dac_value;

#define NUM_SINE_SAMPLE	60
#define SINE_FREQ_IN_HZ	60






















#endif






















